package com.lcredu.common.execption;

/**
 * @author kirito
 * @create 2023-10-04 15:18
 */
public enum LcrlivingCodeEnume {
    //定义两个常量
    UNKNOW_EXCEPTION(40000,"系统未知异常"),
    INVALID_EXCEPTION(40001,"参数校验异常");

    private int code;
    private String message;

    LcrlivingCodeEnume(int code, String message) {
        this.code = code;
        this.message = message;
    }

    public int getCode() {
        return code;
    }

    public void setCode(int code) {
        this.code = code;
    }

    public String getMessage() {
        return message;
    }

    public void setMessage(String message) {
        this.message = message;
    }
}
